{% extends 'base.html' %}

{% block title %}
    添加用户
{% endblock %}

{% block content %}
    <form action="" method="post">
        {% csrf_token %}
        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" class="form-control" name="username" id="username">
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" class="form-control" name="password" id="password">
        </div>
        <div class="form-group">
            <label for="gender">性别</label>
            <input type="number" class="form-control" name="gender" id="gender" placeholder="输入数字">
        </div>
        <div class="form-group">
            <label for="new">测试</label>
            <input type="text" class="form-control" name="new" id="new">
        </div>
        <div class="form-group">
            <label for="age">年龄</label>
            <input type="number" class="form-control" name="age" id="age" max="120" min="0">
        </div>
        <div class="form-group">
            <label for="create">自动时间</label>
        </div>
        <input type="submit" class="btn btn-default">
    </form>
{% endblock %}